import axios from 'axios'
// const BASEURL =
export const getHelloWorld = () => {
  return new Promise((resolve, reject) => {
    axios.get('/api').then((res) => {
      if (res.data.status == 200) {
        resolve(res.data)
      } else {
        ElMessage
      }
    })
  })
}
